import request from '@/utils/request'

export default {
    //1.生成统计数据
    createStaData(day) {
        return request({
            //url: '/table/list',
            url: `/staservice/sta/registerCount/${day}`,
            method: 'post'
        })
    },

    //2.获取统计数据
    getDataSta(serachObj){
        return request({
            //url: '/table/list',
            url: `/staservice/sta/showData/${serachObj.type}/${serachObj.begin}/${serachObj.end}`,
            method: 'get'
        })
    }
}
